package com.yangluyao.easyexcel.model;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 订单分配表
 * </p>
 *
 * @author hejiayao
 * @since 2020-04-22
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode
@TableName("quality_user")
public class QualityUser extends Model<QualityUser> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键递增
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ExcelIgnore
    private Long id;
    /**
     * 质检订单号
     */
    @TableField("quality_num")
    @ExcelProperty("质检订单号")
    private String qualityNum;
    /**
     * 审核订单号
     */
    @TableField("audit_num")
    @ExcelProperty("审核订单号")
    private String auditNum;

    /**
     * 订单归属部门
     */
    @TableField("order_user_dep")
    @ExcelProperty("订单归属部门")
    private String orderUserDep;
    /**
     * 不合规原因
     */
    @TableField("quality_no_confor_cause_id")
    @ExcelProperty("不合规原因")
    private String qualityNoConforCauseId;
    /**
     * 质检备注
     */
    @TableField("checkout_remark")
    @ExcelProperty("质检备注")
    private String checkoutRemark;
    /**
     * 质检时间（操作时间）
     */
    @TableField("quality_time")
    @ExcelProperty("质检时间")
    private String qualityTime;
}
